package com.ruoyi.user.enums;

import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author Lu.F
 * @version 1.0
 * @date 2022/11/10 16:35
 */
@AllArgsConstructor(access = AccessLevel.PRIVATE)
@Getter
public enum BizCodeEnum {

    ACCOUNT_REPEAT(250001, "账号已经存在"),
    ACCOUNT_UNREGISTER(250002, "账号不存在"),
    ACCOUNT_PWD_ERROR(250003, "账号或者密码错误"),
    ACCOUNT_UNLOGIN_ERROR(250003, "账号未登录"),


    ORDER_NOT_FOUND(30001,"无此订单"),
    ORDER_PRODUCT_NOT_FOUNF(30002,"未查询到此订单商品，请联系工作人员")
    ;


    private int code;

    private String msg;
}
